# DDR MAX2 theme ported to stepmania 5
################################################################################
[Common]
InitialScreen=InitialScreen()
StepsTypesToHide="dance-threepanel,lights-cabinet"

OverlayScreens=GetOverlayScreens()
PercentScoreDecimalPlaces=1

[GameState]
# nope.
AllowLateJoin=false

[SongManager]
# DDRMAX2 Wheel Colors
NumSongGroupColors=30
SongGroupColor1=color("#00F948")		
SongGroupColor2=color("#00F948")	
SongGroupColor3=color("#00F948")
SongGroupColor4=color("#00F948")
SongGroupColor5=color("#00F948")
SongGroupColor6=color("#00F948")		
SongGroupColor7=color("#00F948")	
SongGroupColor8=color("#00F948")
SongGroupColor9=color("#00F948")
SongGroupColor10=color("#00F948")
SongGroupColor11=color("#00F948")
SongGroupColor12=color("#00F948")
SongGroupColor13=color("#00F948")
SongGroupColor14=color("#00F948")
SongGroupColor15=color("#00F948")
SongGroupColor16=color("#00F948")
SongGroupColor17=color("#00F948")
SongGroupColor14=color("#28C0E8")
SongGroupColor15=color("#28C0E8")
SongGroupColor16=color("#28C0E8")
SongGroupColor17=color("#28C0E8")
SongGroupColor18=color("#28C0E8")
SongGroupColor19=color("#28C0E8")
SongGroupColor20=color("#28C0E8")
SongGroupColor21=color("#28C0E8")
SongGroupColor22=color("#28C0E8")
SongGroupColor23=color("#28C0E8")
SongGroupColor24=color("#28C0E8")
SongGroupColor25=color("#E100F9")
SongGroupColor26=color("#E100F9")
SongGroupColor27=color("#E100F9")
SongGroupColor28=color("#F8F800")
SongGroupColor29=color("#F8F800")
SongGroupColor30=color("#F8F800")

[HighScore]
# foon.
EmptyName="(^^)"

[CustomDifficulty]
Names="LightSingle,StandardSingle,HeavySingle,ChallengeSingle,LightDouble,StandardDouble,HeavyDouble,ChallengeDouble"

LightSingleStepsType="StepsType_Dance_Single"
LightSingleDifficulty="Difficulty_Easy"
LightSingleCourseType=nil
LightSingleString="Light"
#--#
StandardSingleStepsType="StepsType_Dance_Single"
StandardSingleDifficulty="Difficulty_Medium"
StandardSingleCourseType=nil
StandardSingleString="Standard"
#--#
HeavySingleStepsType="StepsType_Dance_Single"
HeavySingleDifficulty="Difficulty_Hard"
HeavySingleCourseType=nil
HeavySingleString="Heavy"
#--#
ChallengeSingleStepsType="StepsType_Dance_Single"
ChallengeSingleDifficulty="Difficulty_Challenge"
ChallengeSingleCourseType=nil
ChallengeSingleString="Challenge"

LightDoubleStepsType="StepsType_Dance_Double"
LightDoubleDifficulty="Difficulty_Easy"
LightDoubleCourseType=nil
LightDoubleString="Light"
#--#
StandardDoubleStepsType="StepsType_Dance_Double"
StandardDoubleDifficulty="Difficulty_Medium"
StandardDoubleCourseType=nil
StandardDoubleString="Standard"
#--#
HeavyDoubleStepsType="StepsType_Dance_Double"
HeavyDoubleDifficulty="Difficulty_Hard"
HeavyDoubleCourseType=nil
HeavyDoubleString="Heavy"
#--#
ChallengeDoubleStepsType="StepsType_Dance_Double"
ChallengeDoubleDifficulty="Difficulty_Challenge"
ChallengeDoubleCourseType=nil
ChallengeDoubleString="Challenge"
################################################################################
# this hack is from my Mungyodance 3 theme port -freem
[Sides]
Class="ScreenSplash"
Fallback="ScreenSplash"
HandleBackButton=false
PrevScreen="Sides"
################################################################################
[ScreenSystemLayer]
CreditsP1X=SCREEN_CENTER_X-200
CreditsP1Y=SCREEN_BOTTOM-6
CreditsP1OnCommand=

CreditsP2X=SCREEN_CENTER_X+200
CreditsP2Y=SCREEN_BOTTOM-6
CreditsP2OnCommand=
################################################################################
[ScreenWithMenuElements]
ShowHeader=false
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP+48
HeaderOnCommand=draworder,95;addx,SCREEN_WIDTH;spring,0.5;addx,-SCREEN_WIDTH
HeaderOffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH;

ShowStyleIcon=false
StyleIconX=SCREEN_CENTER_X+120
StyleIconY=SCREEN_TOP+26
StyleIconOnCommand=draworder,97;addx,SCREEN_WIDTH;spring,0.5;addx,-SCREEN_WIDTH
StyleIconOffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH;

TimerX=SCREEN_CENTER_X+270
TimerY=SCREEN_TOP+22
TimerOnCommand=draworder,97;addx,SCREEN_WIDTH;spring,0.5;addx,-SCREEN_WIDTH
TimerOffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH;

ShowFooter=false
FooterX=SCREEN_CENTER_X
FooterY=SCREEN_BOTTOM-22
FooterOnCommand=draworder,99;
FooterOffCommand=

ShowHelp=false
HelpX=SCREEN_CENTER_X
HelpY=SCREEN_BOTTOM-33.5
HelpOnCommand=draworder,97;shadowlength,0;diffuseblink;zoom,0.5;zoomy,0;linear,0.5;zoomy,0.5
HelpOffCommand=linear,0.5;zoomy,0

# each screen that uses it places it differently, so don't bother giving
# default metrics to it here
ShowStageDisplay=false
################################################################################
[ScreenOptions]
NumRowsShown=8
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	self:y((SCREEN_CENTER_Y-172.5)+(40*offsetFromCenter)) \
end

PageOnCommand=y,SCREEN_CENTER_Y-12
PageOffCommand=
ContainerOnCommand=draworder,-1;zoomy,0;decelerate,0.25;zoomy,1
ContainerOffCommand=zoomy,1;decelerate,0.25;zoomy,0
OptionRowNormalMetricsGroup="OptionRow"
CursorTweenSeconds=0.15
ShowExitRow=true
SeparateExitRow=true
SeparateExitRowY=SCREEN_CENTER_Y+150
MoreX=
MoreY=
MoreOnCommand=visible,false
MoreExitSelectedP1Command=
MoreExitSelectedP2Command=
MoreExitUnselectedP1Command=
MoreExitUnselectedP2Command=

ExplanationTogetherX=SCREEN_CENTER_X-9999
ExplanationTogetherY=SCREEN_BOTTOM-64
ExplanationP1X=(SCREEN_CENTER_X*0.575)-9999
ExplanationP1Y=SCREEN_BOTTOM-84
ExplanationP2X=(SCREEN_CENTER_X*1.425)-999
ExplanationP2Y=SCREEN_BOTTOM-84
ExplanationP1OnCommand=zoom,0.55;wrapwidthpixels,494;horizalign,left;cropright,1;linear,0.4;cropright,0;diffuse,PlayerColor(PLAYER_1);strokecolor,Color("Black")
ExplanationP2OnCommand=zoom,0.55;wrapwidthpixels,494;horizalign,left;cropright,1;linear,0.4;cropright,0;diffuse,PlayerColor(PLAYER_2);strokecolor,Color("Black")
ExplanationTogetherOnCommand=zoom,0.5;wrapwidthpixels,1140;horizalign,left;cropright,1;linear,0.4;cropright,0;strokecolor,Color("Black")

[OptionsCursor]
LeftX=
LeftY=
LeftOnCommand=halign,1;
MiddleX=
MiddleY=
MiddleOnCommand=
RightX=
RightY=
RightOnCommand=halign,0;
CanGoLeftX=
CanGoLeftY=
CanGoLeftOnCommand=halign,1;
CanGoRightX=
CanGoRightY=
CanGoRightOnCommand=halign,0;

[OptionsCursorP1]
Fallback="OptionsCursor"
LeftX=0
MiddleX=0
RightX=0
LeftY=-10
MiddleY=-10
RightY=-10

[OptionsCursorP2]
Fallback="OptionsCursor"
LeftX=0
MiddleX=0
RightX=0
LeftY=10
MiddleY=10
RightY=10

[OptionsUnderline]
Fallback="OptionsCursor"

[OptionsUnderlineP1]
Fallback="OptionsUnderline"
LeftX=0
MiddleX=0
RightX=0
LeftY=-10
MiddleY=-10
RightY=-10

[OptionsUnderlineP2]
Fallback="OptionsUnderline"
LeftX=0
MiddleX=0
RightX=0
LeftY=10
MiddleY=10
RightY=10

[OptionRow]
TitleX=SCREEN_CENTER_X-190
#wrapwidthpixels,SCREEN_WIDTH*0.2
TitleOnCommand=zoom,0.7;halign,1

ItemsStartX=SCREEN_CENTER_X-160
ItemsEndX=SCREEN_CENTER_X+280
ItemsGapX=10
ItemsMinBaseZoom=2.5
ItemOnCommand=uppercase,true;shadowlength,0;zoom,0.5

ItemsLongRowP1X=SCREEN_CENTER_X-60
ItemsLongRowP2X=SCREEN_CENTER_X+100
ItemsLongRowSharedX=SCREEN_CENTER_X


[OptionRowExit]
ItemOnCommand=uppercase,true;zoom,0.5;vertaling,38

[ScreenOptionsMaster]
# player options
Accel="6"
AccelDefault="mod,no boost,no brake,no wave,no expand,no boomerang"
Accel,1="name,Off"
Accel,2="mod,boost;name,Boost"
Accel,3="mod,brake;name,Brake"
Accel,4="mod,wave;name,Wave"
Accel,5="mod,expand;name,Expand"
Accel,6="mod,boomerang;name,Boomerang"

Appearance="4"
AppearanceDefault="mod,no hidden,no sudden,no stealth,no blink,no randomvanish"
Appearance,1="name,Visible"
Appearance,2="mod,hidden;name,Hidden"
Appearance,3="mod,sudden;name,Sudden"
Appearance,4="mod,stealth;name,Stealth"
Appearance,5="mod,blink;name,Blink"

Turn="6"
TurnDefault="mod,no turn"
Turn,1="name,Off"
Turn,2="mod,mirror;name,Mirror"
Turn,3="mod,left;name,Left"
Turn,4="mod,right;name,Right"
Turn,5="mod,shuffle;name,Shuffle"
Turn,6="mod,supershuffle;name,SuperShuffle"

Scroll="5"
ScrollDefault="mod,no reverse,no split,no alternate,no cross"
Scroll,1="name,Standard"
Scroll,2="mod,reverse;name,Reverse"
Scroll,3="mod,split;name,Split"
Scroll,4="mod,alternate;name,Alternate"
Scroll,5="mod,cross;name,Cross"

Freeze="2"
FreezeDefault="mod,no noholds,no planted,no twister,no nojumps,no nohands"
Freeze,1="mod,noholds;name,Off"
Freeze,2="name,On"

Little="2"
LittleDefault="mod,no little"
Little,1="name,Off"
Little,2="mod,little;name,On"

Dark="2"
DarkDefault="mod,no dark"
Dark,1="name,Off"
Dark,2="mod,dark;name,On"

Judge="2"
JudgeDefault="mod,no blind"
Judge,1="mod,blind;name,Off"
Judge,2="name,On"

Persp="5"
PerspDefault="mod,overhead"
Persp,1="mod,incoming;name,Incoming"
Persp,2="mod,overhead;name,Overhead"
Persp,3="mod,space;name,Space"
Persp,4="mod,hallway;name,Hallway"
Persp,5="mod,distant;name,Distant"

Foon="5"
FoonDefault="mod,no dizzy,no flip,no mini,no bumpy"
Foon,1="name,Off"
Foon,2="mod,dizzy;name,Dizzy"
Foon,3="mod,mini;name,Mini"
Foon,4="mod,flip;name,Flip"
Foon,5="mod,bumpy;name,Bumpy"

Asso="4"
AssoDefault="mod,no drunk,no tipsy,no beat"
Asso,1="name,Off"
Asso,2="mod,drunk;name,Drunk"
Asso,3="mod,tipsy;name,Tipsy"
Asso,4="mod,beat;name,Beat"

YAMAZAKI="2"
YAMAZAKIDefault="mod,no tornado"
YAMAZAKI,1="name,Off"
YAMAZAKI,2="mod,Tornado;name,On"
################################################################################
[ScreenCompany]
Fallback="ScreenInit"
NextScreen="ScreenLogo"
PrevScreen="ScreenLogo"
TimerSeconds=15
ForceTimer=true
TimerStealth=true
PlayMusic=true

[ScreenLogo]
Fallback="ScreenAttract"
NextScreen="ScreenDemonstration"
PrevScreen="ScreenCompany"
TimerSeconds=5
ForceTimer=true
TimerStealth=true
################################################################################
[ScreenHowToPlay]
TimerSeconds=25
NextScreen="ScreenDemonstration"
PrevScreen="ScreenLogo"

CharacterOnCommand=zoom,20;x,SCREEN_CENTER_X-200;y,SCREEN_CENTER_Y+160;addy,-(SCREEN_HEIGHT*1.041667);sleep,6.0;decelerate,0.4;addy,(SCREEN_HEIGHT*1.041667)
PadOnCommand=x,SCREEN_CENTER_X-280;y,SCREEN_CENTER_Y+70;zoom,15;rotationy,180;hibernate,4.7;linear,1.0;rotationy,360;zoom,20;x,SCREEN_CENTER_X-90;y,SCREEN_CENTER_Y+150
################################################################################
[ScreenDemonstration]
NextScreen="ScreenRanking"
PrevScreen="ScreenLogo"

SongMeterDisplayP2OnCommand=visible,false
LifeP1OnCommand=visible,false
LifeP2OnCommand=visible,false
ScoreFrameP1OnCommand=visible,false
ScoreFrameP2OnCommand=visible,false
ScoreP1OnCommand=visible,false
ScoreP2OnCommand=visible,false
StepsDisplayP1OnCommand=visible,false
StepsDisplayP2OnCommand=visible,false
PlayerModIconsP1OnCommand=visible,false
PlayerModIconsP2OnCommand=visible,false
PlayMusic=true
#
SecondsToShow=130
ShowStageFrame=false
ShowStageDisplay=false

ShowHeader=false
HeaderX=SCREEN_CENTER_X
HeaderY=SCREEN_TOP+29
HeaderOnCommand=draworder,1;zoomx,SCREEN_WIDTH/640;addy,-58;sleep,0.5;linear,0.147;addy,58
HeaderOffCommand=sleep,0.012;linear,0.098;addy,-58

ShowFooter=false
FooterX=SCREEN_CENTER_X
FooterY=SCREEN_BOTTOM-29
FooterOnCommand=draworder,1;zoomx,SCREEN_WIDTH/640;addy,58;sleep,0.5;linear,0.147;addy,-58
FooterOffCommand=sleep,0.012;linear,0.098;addy,58
################################################################################
# hey check out how much extra crap you have to do in SM5 for this screen!
[ScreenRanking]
Class="ScreenRanking"
Fallback="ScreenAttract"
NextScreen="ScreenWarning"
PrevScreen="ScreenDemonstration"
PlayMusic=true

TimerSeconds=80
ForceTimer=true
TimerStealth=true

NoScoreName="MAX2"
StepsTypesToHide="dance-couple,dance-solo,dance-threepanel,dance-routine,pump-halfdouble,pump-couple"

SecondsPerPage=10

StepsTypeColor1=color("0.6,0.6,1,1")
StepsTypeColor2=color("1,0.3,0.3,1")
StepsTypeColor3=color("0.3,1,0.3,1")
StepsTypeColor4=color("1.0,1,1.0,1")
StepsTypeColor5=color("1.0,1,1.0,1")

CategoryOnCommand=
CategoryNextPageCommand=x,SCREEN_CENTER_X+197;y,SCREEN_CENTER_Y-208;diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.0;bounceend,1;addx,-SCREEN_WIDTH
CategorySwitchedPageCommand=sleep,0.0;linear,0.5;diffusealpha,0
CategoryOffCommand=sleep,0.0;linear,0.5;diffusealpha,0

StepsTypeOnCommand=
StepsTypeNextPageCommand=x,SCREEN_CENTER_X+200;y,SCREEN_CENTER_Y-180;diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.0;bounceend,1;addx,-SCREEN_WIDTH
StepsTypeSwitchedPageCommand=sleep,0.0;linear,0.5;diffusealpha,0
StepsTypeOffCommand=sleep,0.0;linear,0.5;diffusealpha,0

BulletStartX=SCREEN_CENTER_X-220
BulletStartY=SCREEN_CENTER_Y-100
Bullet1OnCommand=
Bullet2OnCommand=
Bullet3OnCommand=
Bullet4OnCommand=
Bullet5OnCommand=
#--#
Bullet1OffCommand=sleep,0.2;linear,0.5;diffusealpha,0
Bullet2OffCommand=sleep,0.3;linear,0.5;diffusealpha,0
Bullet3OffCommand=sleep,0.4;linear,0.5;diffusealpha,0
Bullet4OffCommand=sleep,0.5;linear,0.5;diffusealpha,0
Bullet5OffCommand=sleep,0.6;linear,0.5;diffusealpha,0

Bullet1NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.2;bounceend,1;addx,-SCREEN_WIDTH
Bullet2NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.3;bounceend,1;addx,-SCREEN_WIDTH
Bullet3NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.4;bounceend,1;addx,-SCREEN_WIDTH
Bullet4NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.5;bounceend,1;addx,-SCREEN_WIDTH
Bullet5NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.6;bounceend,1;addx,-SCREEN_WIDTH
#--#
Bullet1SwitchedPageCommand=sleep,0.2;linear,0.5;diffusealpha,0
Bullet2SwitchedPageCommand=sleep,0.3;linear,0.5;diffusealpha,0
Bullet3SwitchedPageCommand=sleep,0.4;linear,0.5;diffusealpha,0
Bullet4SwitchedPageCommand=sleep,0.5;linear,0.5;diffusealpha,0
Bullet5SwitchedPageCommand=sleep,0.6;linear,0.5;diffusealpha,0

NameStartX=SCREEN_CENTER_X-140
NameStartY=SCREEN_CENTER_Y-100
Name1OnCommand=halign,0
Name2OnCommand=halign,0
Name3OnCommand=halign,0
Name4OnCommand=halign,0
Name5OnCommand=halign,0
#--#
Name1OffCommand=sleep,0.2;linear,0.5;diffusealpha,0
Name2OffCommand=sleep,0.3;linear,0.5;diffusealpha,0
Name3OffCommand=sleep,0.4;linear,0.5;diffusealpha,0
Name4OffCommand=sleep,0.5;linear,0.5;diffusealpha,0
Name5OffCommand=sleep,0.6;linear,0.5;diffusealpha,0

Name1NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.2;bounceend,1;addx,-SCREEN_WIDTH
Name2NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.3;bounceend,1;addx,-SCREEN_WIDTH
Name3NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.4;bounceend,1;addx,-SCREEN_WIDTH
Name4NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.5;bounceend,1;addx,-SCREEN_WIDTH
Name5NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.6;bounceend,1;addx,-SCREEN_WIDTH
#--#
Name1SwitchedPageCommand=sleep,0.2;linear,0.5;diffusealpha,0
Name2SwitchedPageCommand=sleep,0.3;linear,0.5;diffusealpha,0
Name3SwitchedPageCommand=sleep,0.4;linear,0.5;diffusealpha,0
Name4SwitchedPageCommand=sleep,0.5;linear,0.5;diffusealpha,0
Name5SwitchedPageCommand=sleep,0.6;linear,0.5;diffusealpha,0

#
ScoreStartX=SCREEN_CENTER_X+200
ScoreStartY=SCREEN_CENTER_Y-100

Score1OnCommand=halign,1
Score2OnCommand=halign,1
Score3OnCommand=halign,1
Score4OnCommand=halign,1
Score5OnCommand=halign,1
#--#
Score1OffCommand=sleep,0.2;linear,0.5;diffusealpha,0
Score2OffCommand=sleep,0.3;linear,0.5;diffusealpha,0
Score3OffCommand=sleep,0.4;linear,0.5;diffusealpha,0
Score4OffCommand=sleep,0.5;linear,0.5;diffusealpha,0
Score5OffCommand=sleep,0.6;linear,0.5;diffusealpha,0

Score1NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.2;bounceend,1;addx,-SCREEN_WIDTH
Score2NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.3;bounceend,1;addx,-SCREEN_WIDTH
Score3NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.4;bounceend,1;addx,-SCREEN_WIDTH
Score4NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.5;bounceend,1;addx,-SCREEN_WIDTH
Score5NextPageCommand=diffusealpha,1;addx,SCREEN_WIDTH;sleep,0.6;bounceend,1;addx,-SCREEN_WIDTH
#--#
Score1SwitchedPageCommand=sleep,0.2;linear,0.5;diffusealpha,0
Score2SwitchedPageCommand=sleep,0.3;linear,0.5;diffusealpha,0
Score3SwitchedPageCommand=sleep,0.4;linear,0.5;diffusealpha,0
Score4SwitchedPageCommand=sleep,0.5;linear,0.5;diffusealpha,0
Score5SwitchedPageCommand=sleep,0.6;linear,0.5;diffusealpha,0
################################################################################
[ScreenWarning]
Fallback="ScreenAttract"
NextScreen="ScreenCompany"
PrevScreen="ScreenRanking"
TimerSeconds=5
ForceTimer=true
TimerStealth=true
################################################################################
[ScreenTitleMenu]
PrevScreen="ScreenCompany"
NextScreen="ScreenCompany"

ChoiceNames="GameStart,Edit,Editc,Options,Jukebox,Exit"
ChoiceGameStart="applydefaultoptions;text,GAME MODE;screen,"..Branch.StartGame()
ChoiceEdit="text,EDIT MODE;screen,"..Branch.OptionsEdit()
ChoiceEditc="text,EDIT COURSES;screen,"..Branch.OptionsEdit()
ChoiceOptions="screen,ScreenOptionsService;text,OPTIONS"
ChoiceJukebox="screen,ScreenJukeboxMenu;text,DDRMAX2 JUKEBOX"
ChoiceExit="screen,ScreenExit;text,EXIT"

ScrollerX=SCREEN_CENTER_X
ScrollerY=SCREEN_CENTER_Y
ScrollerOnCommand=
ScrollerOffCommand=

ScrollerSecondsPerItem=0
ScrollerNumItemsToDraw=20
ScrollerTransform=function(self,offset,itemIndex,numItems) self:y(30*(itemIndex-(numItems-1)/2)); end

SongsX=SCREEN_CENTER_X-300
SongsY=SCREEN_TOP+20
SongsOnCommand=halign,0;diffuse,color("0.6,0.6,0.6,1");zoom,0.5;shadowlength,1

VersionX=SCREEN_CENTER_X+300
VersionY=SCREEN_TOP+20
VersionOnCommand=halign,1;diffuse,color("0.6,0.6,0.6,1");zoom,0.5;shadowlength,1

WarningX=SCREEN_CENTER_X+300
WarningY=SCREEN_TOP+20
WarningOnCommand=x,SCREEN_CENTER_X;y,SCREEN_BOTTOM-94;draworder,97

ShowHelp=false
HelpX=SCREEN_CENTER_X
HelpY=SCREEN_BOTTOM-40
HelpOnCommand=draworder,97;shadowlength,1.5;diffuseblink;zoom,0.5;zoomy,0;linear,0.5;zoomy,0.5

[ScreenTitleJoin]
# coin message
CoinMessageX=SCREEN_CENTER_X
CoinMessageY=SCREEN_CENTER_Y+175
CoinMessageOnCommand=diffuseshift;effectcolor1,color("0.5,0.5,0.5,1");effectcolor2,color("1,1,1,1");effectperiod,0.3
CoinMessageOffCommand=

# premium message
PremiumX=SCREEN_CENTER_X
PremiumY=SCREEN_CENTER_Y+95
PremiumOnCommand=
PremiumOffCommand=

FreeplayX=SCREEN_CENTER_X
FreeplayY=SCREEN_CENTER_Y
FreeplayOnCommand=diffuseshift;effectcolor1,color("0.5,0.5,0.5,1");effectcolor2,color("1,1,1,1");effectperiod,1.5

# things from ScreenTitleMenu
ScrollerOnCommand=visible,false
SongsOnCommand=visible,false
VersionOnCommand=visible,false
WarningOnCommand=visible,false

################################################################################
[ScreenCaution]
Class="ScreenSplash"
Fallback="ScreenSplash"
NextScreen="ScreenSelectStyle"
PrevScreen=Branch.TitleMenu()
AllowStartToSkip=true

TimerMetricsGroup="MenuTimerNoSound"
ForceTimer=true
TimerStealth=true
TimerSeconds=5
################################################################################
[ScreenSelectStyle]
ShowHeader=true
ShowFooter=true
ShowHelp=false
WaitForChildrenBeforeTweeningOut=true

# Choice list:
# Arcade	Single, Versus, Double
# Home		Single, Versus, Double, Couple, Solo
ChoiceNames=StyleChoices()
DefaultChoice="1"

Choice1="style,single;name,Single;screen,"..Branch.AfterSelectStyle()
Choice2="style,versus;name,Versus;screen,"..Branch.AfterSelectStyle()
Choice3="style,double;name,Double;screen,"..Branch.AfterSelectStyle()
#Choice4="style,couple;name,Couple;screen,"..Branch.AfterSelectStyle()
#Choice5="style,solo;name,Solo;screen,"..Branch.AfterSelectStyle()

ShowScroller=true
PerChoiceScrollElement=true
ScrollerX=0
ScrollerY=0
ScrollerOnCommand=

ShowIcon=true
PerChoiceIconElement=true
UseIconMetrics=true

IconChoiceSingleX=
IconChoiceSingleY=
IconChoiceSingleOnCommand=
IconChoiceVersusX=
IconChoiceVersusY=
IconChoiceVersusOnCommand=
IconChoiceDoubleX=
IconChoiceDoubleY=
IconChoiceDoubleOnCommand=
IconChoiceCoupleX=
IconChoiceCoupleY=
IconChoiceCoupleOnCommand=
IconChoiceSoloX=
IconChoiceSoloY=
IconChoiceSoloOnCommand=

# xxx: looks awkward in home mode
ExplanationX=SCREEN_CENTER_X+160
ExplanationY=SCREEN_CENTER_Y-70
ExplanationOnCommand=draworder,90;addx,SCREEN_WIDTH*0.625;bounceend,0.5;addx,-SCREEN_WIDTH*0.625
ExplanationOffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH*0.625

WarningX=SCREEN_CENTER_X+160
WarningY=SCREEN_CENTER_Y+77
WarningOnCommand=addy,-120;zoomy,0;decelerate,0.5;zoomy,1;addy,120;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.5
WarningOffCommand=accelerate,0.3;zoomy,0;y,SCREEN_CENTER_Y-40
WarningPlayerJoinedMessageCommand=playcommand,"Off"



################################################################################
[ScreenProfileLoad]
NextScreen="ScreenSelectDifficulty"
ShowFooter=true
################################################################################
[ScreenSelectDifficulty]
Class="ScreenSelectMaster"
Fallback="ScreenSelectMaster"
PrevScreen=Branch.TitleMenu()
ShowHeader=true
ShowFooter=true
ShowStyleIcon=true
ShowHelp=false
WaitForChildrenBeforeTweeningOut=true
SharedSelection=false
TimerSeconds=20

PreSwitchPageSeconds=0.15
PostSwitchPageSeconds=0.15
NumChoicesOnPage1=3

# Choice list:
# Arcade	Beginner, Easy, Medium, Hard, Nonstop, Oni
# Home		Beginner, Easy, Medium, Hard, Nonstop, Oni, Endless, Rave
ChoiceNames=DifficultyChoices()
DefaultChoice="1"

# xxx: instruction screens

Choice1="name,Easy;playmode,regular;difficulty,easy;screen,"..Branch.InstructionsNormal()
Choice2="name,Medium;playmode,regular;difficulty,medium;screen,ScreenSelectMusic"
Choice3="name,Hard;playmode,regular;difficulty,hard;screen,ScreenSelectMusic"
Choice4="name,Oni;playmode,oni;screen,"..Branch.InstructionsCourse()

ShowCursor=true
CursorP1OffsetXFromIcon=-178
CursorP1OffsetYFromIcon=(SCREEN_CENTER_Y-59)+188
CursorP1OnCommand=draworder,99
CursorP1ChangeCommand=linear,0.165
CursorP1SwitchToPage1Command=linear,0.165
CursorP1SwitchToPage2Command=linear,0.165

CursorP2OffsetXFromIcon=-85
CursorP2OffsetYFromIcon=(SCREEN_CENTER_Y-59)+188
CursorP2OnCommand=draworder,99
CursorP2ChangeCommand=linear,0.165
CursorP2SwitchToPage1Command=linear,0.165
CursorP2SwitchToPage2Command=linear,0.165

ShowIcon=true
PerChoiceIconElement=true
UseIconMetrics=true

# xxx: all positions need fixing

#- page 1 -#
IconChoiceEasyX=SCREEN_CENTER_X-80
IconChoiceEasyY=0
IconChoiceEasyOnCommand=addx,-SCREEN_WIDTH*1.25;sleep,0.2;decelerate,0.4;addx,SCREEN_WIDTH*1.25
IconChoiceEasyOffCommand=DifficultyItemOff,0
IconChoiceEasySwitchToPage1Command=linear,0.3;addx,SCREEN_WIDTH*1.25
IconChoiceEasySwitchToPage2Command=linear,0.3;addx,-SCREEN_WIDTH*1.25
#--#
IconChoiceMediumX=SCREEN_CENTER_X+130
IconChoiceMediumY=0
IconChoiceMediumOnCommand=addx,-SCREEN_WIDTH*1.25;sleep,0.4;decelerate,0.4;addx,SCREEN_WIDTH*1.25
IconChoiceMediumOffCommand=DifficultyItemOff,0
IconChoiceMediumSwitchToPage1Command=linear,0.3;addx,SCREEN_WIDTH*1.25
IconChoiceMediumSwitchToPage2Command=linear,0.3;addx,-SCREEN_WIDTH*1.25
#--#
IconChoiceHardX=SCREEN_CENTER_X+340
IconChoiceHardY=0
IconChoiceHardOnCommand=addx,-SCREEN_WIDTH*1.25;sleep,0.6;decelerate,0.4;addx,SCREEN_WIDTH*1.25
IconChoiceHardOffCommand=DifficultyItemOff,0
IconChoiceHardSwitchToPage1Command=linear,0.3;addx,SCREEN_WIDTH*1.25
IconChoiceHardSwitchToPage2Command=linear,0.3;addx,-SCREEN_WIDTH*1.25
#- page 2-#
IconChoiceOniX=(SCREEN_CENTER_X*3.5)+130
IconChoiceOniY=0
IconChoiceOniOnCommand=
IconChoiceOniOffCommand=DifficultyItemOff,0
IconChoiceOniSwitchToPage1Command=linear,0.3;addx,SCREEN_WIDTH*1.25
IconChoiceOniSwitchToPage2Command=linear,0.3;addx,-SCREEN_WIDTH*1.25
#--#
MorePage1X=SCREEN_CENTER_X
MorePage1Y=SCREEN_CENTER_Y+183
MorePage1OnCommand=diffusealpha,0;linear,0.5;diffusealpha,1
MorePage1OffCommand=linear,0.5;diffusealpha,0
MorePage1SwitchToPage1Command=linear,0.3;addx,-SCREEN_WIDTH*1.25
MorePage1SwitchToPage2Command=linear,0.3;addx,SCREEN_WIDTH*1.25

MorePage2X=math.ceil(SCREEN_CENTER_X*2.75)-1815
MorePage2Y=SCREEN_CENTER_Y+183
MorePage2OnCommand=
MorePage2OffCommand=linear,0.5;diffusealpha,0
MorePage2SwitchToPage1Command=linear,0.3;addx,-SCREEN_WIDTH*1.25
MorePage2SwitchToPage2Command=linear,0.3;addx,SCREEN_WIDTH*1.25
################################################################################
[ScreenInstructions]
Fallback="ScreenSplash"
NextScreen=Branch.AfterInstructions()
PrevScreen=Branch.TitleMenu()
WaitForChildrenBeforeTweeningOut=true
AllowStartToSkip=true
TimerSeconds=15
ForceTimer=true
ShowStyleIcon=true
ShowFooter=true
ShowHelp=true

################################################################################
[ScreenSelectMusic]
ShowHeader=true
ShowFooter=true
ShowStyleIcon=true
ShowHelp=false
TimerSeconds=83

MusicWheelX=SCREEN_CENTER_X+151
MusicWheelY=SCREEN_CENTER_Y
MusicWheelOnCommand=draworder,-5;SetDrawByZPosition,true;fov,90;vanishpoint,SCREEN_CENTER_X+400,SCREEN_CENTER_Y-15;addx,SCREEN_WIDTH/640*328;sleep,0.412;linear,0.196;addx,-(SCREEN_WIDTH/640*328)
MusicWheelOffCommand=sleep,0.020;linear,0.255;addx,SCREEN_WIDTH/640*328

# player mod icons
ShowModIcons=true
ModIconsP1X=SCREEN_CENTER_X-290
ModIconsP1Y=SCREEN_CENTER_Y-175
ModIconsP1OnCommand=zoom,0.95;draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
ModIconsP1OffCommand=zoom,0.95;bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625
ModIconsP2X=SCREEN_CENTER_X-290
ModIconsP2Y=SCREEN_CENTER_Y-150
ModIconsP2OnCommand=zoom,0.95;draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
ModIconsP2OffCommand=zoom,0.95;bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

BannerFrameX=SCREEN_CENTER_X-175
BannerFrameY=SCREEN_CENTER_Y-74
BannerFrameOnCommand=draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
BannerFrameOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

BannerX=SCREEN_CENTER_X-185
BannerY=SCREEN_CENTER_Y-57
BannerOnCommand=draworder,80;scaletoclipped,256,80;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
BannerOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

CDTitleX=SCREEN_CENTER_X-999
CDTitleY=SCREEN_CENTER_Y-92
CDTitleOnCommand=draworder,82;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
CDTitleOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625
CDTitleFrontCommand=spin;effectmagnitude,0,90,0;cullmode,'CullMode_Back'
CDTitleBackCommand=spin;effectmagnitude,0,90,0;cullmode,'CullMode_Front';diffuse,color("#333333")

ShowStageDisplay=true
StageDisplayX=SCREEN_CENTER_X-265
StageDisplayY=SCREEN_CENTER_Y-113
StageDisplayOnCommand=draworder,82;addx,-(SCREEN_WIDTH*0.625);bounceend,0.5;addx,(SCREEN_WIDTH*0.625)
StageDisplayOffCommand=bouncebegin,0.5;addx,-(SCREEN_WIDTH*0.75)

ShowBPMDisplay=true
BPMDisplayX=SCREEN_CENTER_X-150
BPMDisplayY=SCREEN_CENTER_Y-113
BPMDisplayOnCommand=draworder,82;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
BPMDisplayOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

ShowSortDisplay=false
SortDisplayX=SCREEN_CENTER_X-98
SortDisplayY=SCREEN_CENTER_Y-119
SortDisplayOnCommand=draworder,82;halign,0;zoom,0.625;diffuse,color("#939393");addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
SortDisplayOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

ShowAvailableDifficulties=true
AvailableDifficultiesX=SCREEN_CENTER_X-44
AvailableDifficultiesY=SCREEN_CENTER_Y-119
AvailableDifficultiesOnCommand=zoom,0.45;draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
AvailableDifficultiesOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

ShowDifficultyIcons=true
DifficultyFrameP1X=SCREEN_CENTER_X-260
DifficultyFrameP1Y=SCREEN_CENTER_Y+10
DifficultyFrameP1OnCommand=draworder,82;diffusealpha,0;linear,0.5;diffusealpha,1
DifficultyFrameP1OffCommand=linear,0.5;diffusealpha,0
DifficultyFrameP2X=SCREEN_CENTER_X-80
DifficultyFrameP2Y=SCREEN_CENTER_Y+10
DifficultyFrameP2OnCommand=draworder,82;diffusealpha,0;linear,0.5;diffusealpha,1
DifficultyFrameP2OffCommand=linear,0.5;diffusealpha,0

DifficultyIconP1X=SCREEN_CENTER_X-272
DifficultyIconP1Y=SCREEN_CENTER_Y+10
DifficultyIconP1OnCommand=draworder,83;zoomy,0;linear,0.5;zoomy,1
DifficultyIconP1OffCommand=linear,0.5;zoomy,0
DifficultyIconP2X=SCREEN_CENTER_X-68
DifficultyIconP2Y=SCREEN_CENTER_Y+10
DifficultyIconP2OnCommand=draworder,83;zoomy,0;linear,0.5;zoomy,1
DifficultyIconP2OffCommand=linear,0.5;zoomy,0

ShowGrooveRadar=true
GrooveRadarX=SCREEN_CENTER_X-167
GrooveRadarY=SCREEN_CENTER_Y+76
GrooveRadarOnCommand=zoom,0.86
GrooveRadarOffCommand=

# this part is done in Lua now...
ShowSongOptions=true
SongOptionsX=SCREEN_CENTER_X-160
SongOptionsY=SCREEN_CENTER_Y+94
SongOptionsOnCommand=zoom,0.5;shadowlength,2;diffusealpha,0;linear,0.5;diffusealpha,1
SongOptionsOffCommand=linear,0.5;diffusealpha,0

MeterFrameP1X=SCREEN_CENTER_X-166
MeterFrameP1Y=SCREEN_CENTER_Y+165
MeterFrameP1OnCommand=zoom,0.85;diffusealpha,0;linear,0.5;diffusealpha,1
MeterFrameP1OffCommand=linear,0.5;diffusealpha,0
MeterFrameP2X=SCREEN_CENTER_X-166
MeterFrameP2Y=SCREEN_CENTER_Y+176
MeterFrameP2OnCommand=zoom,0.85;diffusealpha,0;linear,0.5;diffusealpha,1
MeterFrameP2OffCommand=linear,0.5;diffusealpha,0

ShowStepsDisplay=true
StepsDisplayP1X=SCREEN_CENTER_X-225
StepsDisplayP1Y=SCREEN_CENTER_Y+165
StepsDisplayP1OnCommand=zoom,0.76;zoomy,0.78;zoomx,0.85
StepsDisplayP1OffCommand=linear,0.1;zoomy,0
StepsDisplayP2X=SCREEN_CENTER_X-105
StepsDisplayP2Y=SCREEN_CENTER_Y+176
StepsDisplayP2OnCommand=zoom,0.76;zoomy,0.78;zoomx,0.85
StepsDisplayP2OffCommand=linear,0.1;zoomy,0

ScoreFrameP1X=SCREEN_CENTER_X+151
ScoreFrameP1Y=SCREEN_CENTER_Y
ScoreFrameP1OnCommand=draworder,0;addx,SCREEN_WIDTH*0.625;bounceend,0.5;addx,-SCREEN_WIDTH*0.625
ScoreFrameP1OffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH*0.625
ScoreFrameP2X=SCREEN_CENTER_X+151
ScoreFrameP2Y=SCREEN_CENTER_Y
ScoreFrameP2OnCommand=draworder,0;addx,SCREEN_WIDTH*0.625;bounceend,0.5;addx,-SCREEN_WIDTH*0.625
ScoreFrameP2OffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH*0.625

ScoreP1X=SCREEN_CENTER_X+213
ScoreP1Y=SCREEN_CENTER_Y-33
ScoreP1OnCommand=zoom,0.9;zoomx,0.951;diffuse,PlayerColor(PLAYER_1);addx,SCREEN_WIDTH*0.625;bounceend,0.5;addx,-SCREEN_WIDTH*0.625
ScoreP1OffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH*0.625
ScoreP2X=SCREEN_CENTER_X+213
ScoreP2Y=SCREEN_CENTER_Y+33
ScoreP2OnCommand=zoom,0.9;zoomx,0.951;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_WIDTH*0.625;bounceend,0.5;addx,-SCREEN_WIDTH*0.625
ScoreP2OffCommand=bouncebegin,0.5;addx,SCREEN_WIDTH*0.625

OptionsMessageX=SCREEN_CENTER_X
OptionsMessageY=SCREEN_CENTER_Y
OptionsMessageOnCommand=draworder,201
OptionsMessageOffCommand=

[MusicWheel]
ShowRandom=false
ShowRoulette=true
ShowPortal=false

LockedInitialVelocity=7

NumWheelItems=11
ItemTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) \
	self:x( (1-math.cos(offsetFromCenter/math.pi))*72 ); \
	self:y( offsetFromCenter*42 ); \
end

MusicWheelItemSortOnCommand=addx,SCREEN_CENTER_X;sleep,0.15;decelerate,0.15;addx,-SCREEN_CENTER_X;
MusicWheelItemSortOffCommand=accelerate,0.15;addx,SCREEN_CENTER_X

HighlightOnCommand=diffusealpha,0.6;diffuseshift;effectcolor1,0,0,0,0;effectcolor2,#f96e19;effectperiod,1.1;



ScrollBarHeight=SCREEN_CENTER_Y+85
ScrollBarOnCommand=x,158.3;addy,-1

# xxx: ChallengeMeter,Genre,Length,Recent aren't in foonmix, but I'd like them
# to stick around anyways.
ModeMenuChoiceNames="Group,Title,Bpm,Popularity,TopGrades,Artist,EasyMeter,MediumMeter,HardMeter,ChallengeMeter,Genre,Length,Recent"

[MusicWheelItem]
WheelNotifyIconX=-128
WheelNotifyIconY=0
WheelNotifyIconOnCommand=

SongNameX=-126
SongNameY=2.5
SongNameOnCommand=zoom,0.9

SectionCollapsedX=-16
SectionCollapsedOnCommand=zoom,1.0;maxwidth,256
SectionExpandedX=-16
SectionExpandedOnCommand=zoom,1.0;maxwidth,256

SectionCountX=999
SectionCountY=0
SectionCountOnCommand=halign,1;zoom,0.75

RouletteX=-28
RouletteY=0
RouletteOnCommand=zoom,1.334;uppercase,true;rainbowscroll,true

RandomX=-28
RandomY=0
RandomOnCommand=zoom,1.334;uppercase,true;rainbowscroll,true

CourseX=-130
CourseY=0
CourseOnCommand=halign,0;maxwidth,198;

SortX=-130
SortY=0
SortOnCommand=shadowlength,0;zoom,1;horizAlign,left

GradeP1X=82
GradeP1Y=0
GradeP2X=118
GradeP2Y=0

[TextBanner]
TitleOnCommand=halign,0
SubtitleOnCommand=halign,0
ArtistOnCommand=halign,0
ArtistPrependString="/"
AfterSetCommand=%TextBannerAfterSet

[WheelNotifyIcon]
ShowTraining=true

[BPMDisplay]
NoBpmText="---"

SetNoBpmCommand=diffuse,color("#FFFFFF")
SetNormalCommand=diffuse,color("#FFFFFF")
SetChangeCommand=diffuse,color("#E100F9")
SetRandomCommand=diffuse,color("1,0.5,0,1")
SetExtraCommand=diffuse,color("#FF0020")

[Banner]
ScrollRandom=true
ScrollRoulette=true

[GrooveRadar]
Label1X=0
Label1Y=-92
Label2X=-120
Label2Y=-20
Label3X=-100
Label3Y=66
Label4X=100
Label4Y=66
Label5X=120
Label5Y=-20

RadarFrameOnCommand=zoom,0;rotationz,720;linear,0.5;rotationz,0;zoom,1
RadarFrameOffCommand=linear,0.5;zoom,0;rotationz,720;

Label1OnCommand=addx,-100;zoom,1.5;diffuse,color("1,1,1,0");sleep,0.6;linear,0.1;glow,color("1,1,1,1");accelerate,0.3;addx,100;zoom,1;diffuse,color("1,1,1,1");glow,color("1,1,1,0")
Label2OnCommand=addx,-100;zoom,1.5;diffuse,color("1,1,1,0");sleep,0.8;linear,0.1;glow,color("1,1,1,1");accelerate,0.3;addx,100;zoom,1;diffuse,color("1,1,1,1");glow,color("1,1,1,0")
Label3OnCommand=addx,-100;zoom,1.5;diffuse,color("1,1,1,0");sleep,1.0;linear,0.1;glow,color("1,1,1,1");accelerate,0.3;addx,100;zoom,1;diffuse,color("1,1,1,1");glow,color("1,1,1,0")
Label4OnCommand=addx,-100;zoom,1.5;diffuse,color("1,1,1,0");sleep,1.2;linear,0.1;glow,color("1,1,1,1");accelerate,0.3;addx,100;zoom,1;diffuse,color("1,1,1,1");glow,color("1,1,1,0")
Label5OnCommand=addx,-100;zoom,1.5;diffuse,color("1,1,1,0");sleep,1.4;linear,0.1;glow,color("1,1,1,1");accelerate,0.3;addx,100;zoom,1;diffuse,color("1,1,1,1");glow,color("1,1,1,0")

Label1OffCommand=finishtweening;linear,0.5;diffusealpha,0
Label2OffCommand=finishtweening;linear,0.5;diffusealpha,0
Label3OffCommand=finishtweening;linear,0.5;diffusealpha,0
Label4OffCommand=finishtweening;linear,0.5;diffusealpha,0
Label5OffCommand=finishtweening;linear,0.5;diffusealpha,0

[StepsDisplay]
FrameLoadCommand=%function(self,param) \
	local bFlip = param.PlayerState and param.PlayerState:GetPlayerNumber() ~= PLAYER_1; \
		self:zoomx(bFlip and -1 or 1); end
FrameSetCommand=basezoomx,SCREEN_WIDTH/640;
FrameOnCommand=visible,not GAMESTATE:IsDemonstration()

ShowTicks=true
ShowMeter=false
ShowDescription=false
DescriptionX=0
DescriptionY=0
DescriptionOnCommand=
NumTicks=10
MaxTicks=10
TicksX=0
TicksY=-0
TicksOnCommand=
TicksSetCommand=%function(self,param) self:diffuse(CustomDifficultyToColor(param.CustomDifficulty)) if param.Meter > 9 then self:glowshift() else self:stopeffect() end end
[StepsDisplaySelMusicP1]
Fallback="StepsDisplay"

[StepsDisplaySelMusicP2]
Fallback="StepsDisplay"

[ModIconSelectMusic]
Fallback="ModIcon"
TextX=0
TextY=5
TextOnCommand=zoom,0.76;maxwidth,70;uppercase,true

[ModIconRowSelectMusic]
Fallback="ModIconRow"
NumModIcons=7
SpacingX=38
SpacingY=0
ModIconMetricsGroup="ModIconSelectMusic"

[ModIconRowSelectMusicP1]
Fallback="ModIconRowSelectMusic"
ModIconMetricsGroup="ModIconSelectMusicP1"

[ModIconRowSelectMusicP2]
Fallback="ModIconRowSelectMusic"
ModIconMetricsGroup="ModIconSelectMusicP2"

[ModIconSelectMusicP1]
Fallback="ModIconSelectMusic"

[ModIconSelectMusicP2]
Fallback="ModIconSelectMusic"

################################################################################
[OptionRowPlayer]
Fallback="OptionRow"
ShowModIcons=true

ModIconP1X=SCREEN_CENTER_X-280
ModIconP2X=SCREEN_CENTER_X+280
ModIconOnCommand=

[ModIcon]
TextOnCommand=zoom,0.5;uppercase,true;shadowlength,0;
CropTextToWidth=64
StopWords="1X,default,Overhead,Off"

[ScreenPlayerOptions]
ShowFooter=true
ShowHelp=true
WaitForChildrenBeforeTweeningOut=true

NumRowsShown=8
OptionRowNormalMetricsGroup="OptionRowPlayer"

# speed, accel, appear, turn, scroll, noteskin, freeze, little, dark,
# judge, steps, persp, foon, asso-, (^^), chars
LineNames="1,2,3,4,5,6,7,9,11,"
Line1="lua,SpeedMods()"
Line2="list,Accel"
Line3="list,Appearance"
Line4="list,Turn"
Line5="list,Scroll"
Line6="list,NoteSkins"
Line7="list,Freeze"
#Line8="list,Little"
Line9="list,Dark"
#Line10="list,Judge"
Line11="list,Steps"
#Line12="list,Persp"
#Line13="list,Foon"
#Line14="list,Asso"
#Line15="list,YAMAZAKI"
#Line16="list,Characters"

[ScreenPlayerOptionsRestricted]
Fallback="ScreenPlayerOptions"
NextScreen="ScreenStageInformation"
LineNames="1,6,16,17"
Line16="list,StepsLocked"
Line17="list,Characters"
################################################################################
[ScreenSongOptions]
ShowFooter=true
ShowHelp=true
WaitForChildrenBeforeTweeningOut=true

NumRowsShown=8
OptionRowNormalMetricsGroup="OptionRowPlayer"

# life type, bar drain, bat lives, fail, assist tick, background, rate,
# autoplay, auto adjust, save scores
################################################################################
[ScreenSelectCourse]
Fallback="ScreenSelectMusic"
ShowStageDisplay=false
#--#
ShowBPMDisplay=false
ShowSortDisplay=false
ShowGrooveRadar=false
ShowStepsDisplay=false
ShowSongOptions=false
ShowDifficultyIcons=false
#--#
ExplanationX=SCREEN_CENTER_X-175
ExplanationY=SCREEN_CENTER_Y-160
ExplanationOnCommand=draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
ExplanationOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

BannerFrameX=SCREEN_CENTER_X-175
BannerFrameY=SCREEN_CENTER_Y-74
BannerFrameOnCommand=draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
BannerFrameOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

BannerX=SCREEN_CENTER_X-185
BannerY=SCREEN_CENTER_Y-57
BannerOnCommand=draworder,80;scaletoclipped,256,80;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
BannerOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625

NumCourseStagesX=SCREEN_CENTER_X-9999
NumCourseStagesY=SCREEN_CENTER_Y-9999
NumCourseStagesOnCommand=draworder,82;shadowlength,0;addx,-SCREEN_WIDTH;bounceend,0.5;addx,SCREEN_WIDTH
NumCourseStagesOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH

CourseTimeX=SCREEN_CENTER_X-9999
CourseTimeY=SCREEN_CENTER_Y-9999
CourseTimeOnCommand=draworder,82;shadowlength,0;addx,-SCREEN_WIDTH;bounceend,0.5;addx,SCREEN_WIDTH
CourseTimeOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH

CourseContentsListX=SCREEN_CENTER_X-175
CourseContentsListY=SCREEN_CENTER_Y+100
CourseContentsListOnCommand=draworder,81;addx,-SCREEN_WIDTH*0.625;bounceend,0.5;addx,SCREEN_WIDTH*0.625
CourseContentsListOffCommand=bouncebegin,0.5;addx,-SCREEN_WIDTH*0.625
CourseContentsListShowCommand=bouncebegin,0.3;zoomy,1
CourseContentsListHideCommand=linear,0.3;zoomy,0

################################################################################
[ScreenStageInformation]
NextScreen=Branch.GameplayScreen()
################################################################################
[ScreenGameplay]
StartGivesUp=true

# what the hell is the point of this metric anyways
StopCourseEarly=false

# this value should match 3.9's ScreenGameplay.cpp:
MinSecondsToStepNextSong=2.0

# in 3.9 this is:
# (gameplay in length) + (gameplay ready length) + (gameplay go length) + 2
MinSecondsToStep=6.0
# in 3.9 this is the start of gameplay ready.
MinSecondsToMusic=2.0

# used exclusively in ScreenGameplay::GetMusicEndTiming
OutTransitionLength=5
# how long the course "next song" transition takes.
CourseTransitionLength=6

# unsure.
MusicFadeOutSeconds=0.5
BeginFailedDelay=1.0

ShowLifeMeterForDisabledPlayers=false
LifeFrameX=SCREEN_CENTER_X
LifeFrameY=SCREEN_TOP+25
LifeFrameOnCommand=draworder,98;addy,-100;linear,1;addy,100
LifeFrameOffCommand=linear,1;addy,-100
#--#
LifeP1X=SCREEN_CENTER_X-175
LifeP1Y=SCREEN_TOP+27
LifeP1OnCommand=draworder,0;addy,-100;linear,1;addy,100
LifeP1OffCommand=linear,1;addy,-100
LifeP2X=SCREEN_CENTER_X+175
LifeP2Y=SCREEN_TOP+27
LifeP2OnCommand=draworder,0;zoomx,-1;addy,-100;linear,1;addy,100
LifeP2OffCommand=linear,1;addy,-100

CombinedLifeX=SCREEN_CENTER_X
CombinedLifeY=SCREEN_TOP+27
CombinedLifeOnCommand=draworder,99;addy,-100;linear,1;addy,100
CombinedLifeOffCommand=linear,1;addy,-100

ShowStageDisplay=not GAMESTATE:IsCourseMode()
StageDisplayX=SCREEN_CENTER_X
StageDisplayY=SCREEN_TOP+45
StageDisplayOnCommand=draworder,99;addy,-100;linear,1;addy,100
StageDisplayOffCommand=linear,1;addy,-100

ShowStageNumber=GAMESTATE:IsCourseMode()
StageNumberP1X=SCREEN_CENTER_X-70
StageNumberP1Y=SCREEN_TOP+25
StageNumberP1OnCommand=draworder,99;diffuse,color("0,0.5,1,1");addy,-100;linear,1;addy,100
StageNumberP1OffCommand=linear,1;addy,-100
StageNumberP2X=SCREEN_CENTER_X+70
StageNumberP2Y=SCREEN_TOP+25
StageNumberP2OnCommand=draworder,99;diffuse,color("0,0.5,1,1");addy,-100;linear,1;addy,100
StageNumberP2OffCommand=linear,1;addy,-100

StepsDisplayP1X=SCREEN_CENTER_X-238
StepsDisplayP1Y=0
StepsDisplayP1OnCommand=draworder,102;addx,-SCREEN_CENTER_X;sleep,0.5;linear,0.5;addx,SCREEN_CENTER_X
StepsDisplayP1OffCommand=linear,0.5;addx,-SCREEN_CENTER_X
StepsDisplayP1SetNoReverseCommand=y,SCREEN_CENTER_Y+212;
StepsDisplayP1SetReverseCommand=y,SCREEN_CENTER_Y-220;

StepsDisplayP2X=SCREEN_CENTER_X+238
StepsDisplayP2Y=0
StepsDisplayP2OnCommand=draworder,102;addx,SCREEN_CENTER_X;sleep,0.5;linear,0.5;addx,-SCREEN_CENTER_X
StepsDisplayP2OffCommand=linear,0.5;addx,SCREEN_CENTER_X
StepsDisplayP2SetNoReverseCommand=y,SCREEN_CENTER_Y+212;
StepsDisplayP2SetReverseCommand=y,SCREEN_CENTER_Y-220;

ShowScoreInRave=true
ScoreFrameX=SCREEN_CENTER_X
ScoreFrameY=SCREEN_BOTTOM-68
ScoreFrameOnCommand=draworder,98;addy,100;linear,1;addy,-100
ScoreFrameOffCommand=linear,1;addy,100
#--#
ScoreP1X=SCREEN_CENTER_X-213
ScoreP1Y=SCREEN_BOTTOM-44
ScoreP1OnCommand=zoom,1;draworder,99;diffuse,PlayerColor(PLAYER_1);addy,100;linear,1;addy,-100
ScoreP1OffCommand=linear,1;addy,100
ScoreP2X=SCREEN_CENTER_X+213
ScoreP2Y=SCREEN_BOTTOM-44
ScoreP2OnCommand=draworder,99;diffuse,PlayerColor(PLAYER_2);addy,100;linear,1;addy,-100
ScoreP2OffCommand=linear,1;addy,100

PlayerOptionsP1X=SCREEN_CENTER_X
PlayerOptionsP1Y=SCREEN_BOTTOM-52
PlayerOptionsP1OnCommand=draworder,99;diffuse,color("0.4,0.8,1.0,1");shadowlength,1;zoom,0.3;addy,100;sleep,0.5;linear,1;addy,-100
PlayerOptionsP1OffCommand=linear,1;addy,100
PlayerOptionsP2X=SCREEN_CENTER_X
PlayerOptionsP2Y=SCREEN_BOTTOM-30
PlayerOptionsP2OnCommand=draworder,99;diffuse,color("1.0,0.5,0.2,1");shadowlength,1;zoom,0.4;addy,100;sleep,0.5;linear,1;addy,-100
PlayerOptionsP2OffCommand=linear,1;addy,100

SecondaryScoreP1X=SCREEN_CENTER_X-20
SecondaryScoreP1Y=SCREEN_CENTER_Y
SecondaryScoreP1OnCommand=
SecondaryScoreP1OffCommand=
SecondaryScoreP2X=SCREEN_CENTER_X+20
SecondaryScoreP2Y=SCREEN_CENTER_Y
SecondaryScoreP2OnCommand=
SecondaryScoreP2OffCommand=

SongOptionsX=SCREEN_CENTER_X
SongOptionsY=SCREEN_BOTTOM-10
SongOptionsOnCommand=draworder,99;zoom,0.5;addy,100;sleep,0.5;linear,1;addy,-100
SongOptionsOffCommand=linear,1;addy,100

# extra stage time display (old hardcoded version)
SurviveTimeX=SCREEN_CENTER_X
SurviveTimeY=SCREEN_CENTER_Y+100
SurviveTimeOnCommand=sleep,0.3;linear,0.3;diffusealpha,1;sleep,3.5;linear,0.5;diffusealpha,0

# oni game over
OniGameOverP1X=SCREEN_CENTER_X-160
OniGameOverP1Y=SCREEN_CENTER_Y
OniGameOverP1OnCommand=visible,false
OniGameOverP1DieCommand=visible,true
OniGameOverP1OffCommand=
#----------------------#
OniGameOverP2X=SCREEN_CENTER_X+160
OniGameOverP2Y=SCREEN_CENTER_Y
OniGameOverP2OnCommand=visible,false
OniGameOverP2DieCommand=visible,true
OniGameOverP2OffCommand=

# life bar
[StreamDisplay]
PillTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:setsize(256,26) self:x((itemIndex-(numItems/2))); end
TextureCoordScaleX=-1
NumPills=1

# rave
[CombinedLifeMeterTug]
MeterWidth=618

# oni
[LifeMeterBattery]
BatteryBlinkTime=1.2

BatteryP1X=-93
BatteryP1Y=0
BatteryP1OnCommand=diffuse,PlayerColor(PLAYER_1)
BatteryP2X=-93
BatteryP2Y=0
BatteryP2OnCommand=diffuse,PlayerColor(PLAYER_2)

# hacks, all of them.
NumLivesFormat=""
NumLivesP1X=-92
NumLivesP1Y=0
NumLivesP1OnCommand=visible,false
NumLivesP2X=92
NumLivesP2Y=0
NumLivesP2OnCommand=visible,false
# oni score
[LifeMeterBattery Percent]
Format=FormatPercentScore
[Player]

[Judgment]
JudgmentOnCommand=shadowlength,4;

JudgmentW1Command=diffusealpha,1;zoom,1.3;linear,0.05;zoom,1;sleep,0.8;linear,0;diffusealpha,0;glowblink;effectperiod,0.05;effectcolor1,color("1,1,1,0");effectcolor2,color("1,1,1,0.8")
JudgmentW2Command=diffusealpha,1;zoom,1.3;linear,0.05;zoom,1;sleep,0.8;linear,0;diffusealpha,0
JudgmentW3Command=diffusealpha,1;zoom,1.2;linear,0.05;zoom,1;sleep,0.8;linear,0;diffusealpha,0
JudgmentW4Command=diffusealpha,1;zoom,1.1;linear,0.05;zoom,1;sleep,0.8;linear,0;diffusealpha,0
JudgmentW5Command=diffusealpha,1;zoom,1.0;vibrate;effectmagnitude,4,8,8;sleep,0.8;linear,0;diffusealpha,0
JudgmentMissCommand=diffusealpha,1;zoom,1;y,-20;linear,0.8;y,20;sleep,0.8;linear,0;diffusealpha,0;

[HoldJudgment]
HoldJudgmentLetGoCommand=finishtweening;visible,true;shadowlength,4;diffusealpha,1;zoom,1;y,-10;linear,0.8;y,10;sleep,0.5;linear,0;diffusealpha,0
HoldJudgmentHeldCommand=finishtweening;visible,true;shadowlength,4;diffusealpha,1;zoom,1.25;linear,0.3;zoomx,1;zoomy,1;sleep,0.5;linear,0;diffusealpha,0

# todo: fix this
[Combo]
ShowComboAt=4
ShowMissesAt=-1

NumberOnCommand=y,20;align,1,1;shadowlength,4
LabelOnCommand=x,6;y,20;align,0,1;shadowlength,4

PulseCommand=%function(self,param) self:stoptweening(); self:zoom(1.4*param.Zoom); self:linear(0.05); self:zoom(param.Zoom); end
PulseLabelCommand=%function(self,param) self:stoptweening(); self:zoom(1.4*param.LabelZoom); self:linear(0.05); self:zoom(param.LabelZoom); end

NumberMinZoom=0.66
NumberMaxZoom=1
NumberMaxZoomAt=100

LabelMinZoom=1.0
LabelMaxZoom=1.5

[RollingNumbers]
TextFormat="%09.0f"
ApproachSeconds=0.2
Commify=false
LeadingZeroMultiplyColor=color("#777777FF")

[ScoreDisplayRave]
MeterP1OnCommand=rotationz,-90
MeterP2OnCommand=rotationz,-90

LevelP1OnCommand=addy,-140;
LevelP2OnCommand=addy,-140;

[StepsDisplayGameplay]
Fallback="StepsDisplay"
ShowTicks=false
ShowAutogen=false
ShowStepsType=false
ShowMeter=false

ShowFrame=true
FrameX=0
FrameY=0
FrameOnCommand=animate,false
FrameLoadCommand=%function(self,param) \
	if param.PlayerState then \
		local pn = param.PlayerState:GetPlayerNumber(); \
		self:setstate(LoadStepsDisplayGameplayFrame(self,pn)) \
	end; \
end;
# thanks default theme, I need to *not* color this.
FrameSetCommand=visible,true

# extra stage version
[ScreenGameplayExtra]
Fallback="ScreenGameplay"

# score section on top
ScoreFrameX=SCREEN_CENTER_X
ScoreFrameY=SCREEN_TOP+32
ScoreFrameOnCommand=draworder,98;addy,-100;sleep,0.5;linear,1;addy,100
ScoreFrameOffCommand=linear,1;addy,-100

ScoreP1X=SCREEN_CENTER_X-213
ScoreP1Y=SCREEN_TOP+30
ScoreP1OnCommand=diffuse,PlayerColor(PLAYER_1);draworder,99;addy,-100;sleep,0.5;linear,1;addy,100
ScoreP1OffCommand=linear,1;addy,-100
ScoreP2X=SCREEN_CENTER_X+213
ScoreP2Y=SCREEN_TOP+30
ScoreP2OnCommand=diffuse,PlayerColor(PLAYER_2);draworder,99;addy,-100;sleep,0.5;linear,1;addy,100
ScoreP2OffCommand=linear,1;addy,-100

# song options
SongOptionsX=SCREEN_CENTER_X
SongOptionsY=SCREEN_TOP+10
SongOptionsOnCommand=draworder,99;zoom,0.5;addy,-100;sleep,0.5;linear,1;addy,100
SongOptionsOffCommand=linear,1;addy,-100

# player options
PlayerOptionsP1X=SCREEN_CENTER_X
PlayerOptionsP1Y=SCREEN_TOP+46
PlayerOptionsP1OnCommand=draworder,99;diffuse,color("0.4,0.8,1.0,1");shadowlength,1;zoom,0.4;addy,-100;sleep,0.5;linear,1;addy,100
PlayerOptionsP1OffCommand=linear,1;addy,-100
PlayerOptionsP2X=SCREEN_CENTER_X
PlayerOptionsP2Y=SCREEN_TOP+30
PlayerOptionsP2OnCommand=draworder,99;diffuse,color("1.0,0.5,0.2,1");shadowlength,1;zoom,0.4;addy,-100;sleep,0.5;linear,1;addy,100
PlayerOptionsP2OffCommand=linear,1;addy,-100

# difficulty icon
StepsDisplayP1X=SCREEN_CENTER_X-238
StepsDisplayP1Y=0
StepsDisplayP1OnCommand=draworder,102;addx,-SCREEN_CENTER_X;sleep,0.5;linear,0.5;addx,SCREEN_CENTER_X
StepsDisplayP1OffCommand=linear,0.5;addx,-SCREEN_CENTER_X
StepsDisplayP1SetNoReverseCommand=y,SCREEN_CENTER_Y+212;
StepsDisplayP1SetReverseCommand=y,SCREEN_CENTER_Y-220;

StepsDisplayP2X=SCREEN_CENTER_X+238
StepsDisplayP2Y=0
StepsDisplayP2OnCommand=draworder,102;addx,SCREEN_CENTER_X;sleep,0.5;linear,0.5;addx,-SCREEN_CENTER_X
StepsDisplayP2OffCommand=linear,0.5;addx,SCREEN_CENTER_X
StepsDisplayP2SetNoReverseCommand=y,SCREEN_CENTER_Y+212;
StepsDisplayP2SetReverseCommand=y,SCREEN_CENTER_Y-220;

# life section on bottom
LifeFrameX=SCREEN_CENTER_X
LifeFrameY=SCREEN_BOTTOM-63
LifeFrameOnCommand=draworder,99;addy,100;sleep,0.5;linear,1;addy,-100
LifeFrameOffCommand=linear,1;addy,100

LifeP1X=SCREEN_CENTER_X-175
LifeP1Y=SCREEN_BOTTOM-40
LifeP1OnCommand=draworder,0;addy,100;sleep,0.5;linear,1;addy,-100
LifeP1OffCommand=linear,1;addy,100
LifeP2X=SCREEN_CENTER_X+175
LifeP2Y=SCREEN_BOTTOM-40
LifeP2OnCommand=draworder,0;addy,100;sleep,0.5;linear,1;addy,-100
LifeP2OffCommand=linear,1;addy,100

# stage display
StageDisplayX=SCREEN_CENTER_X
StageDisplayY=SCREEN_BOTTOM-58
StageDisplayOnCommand=draworder,99;addy,100;linear,1;addy,-100
StageDisplayOffCommand=linear,1;addy,100

################################################################################
[ScreenEvaluation]
ShowHeader=true
ShowFooter=true
ShowStyleIcon=true
WaitForChildrenBeforeTweeningOut=true

ShowBannerArea=true
BannerWidth=256
BannerHeight=80
LargeBannerX=SCREEN_CENTER_X
LargeBannerY=SCREEN_CENTER_Y-140
LargeBannerOnCommand=draworder,97;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
LargeBannerOffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
LargeBannerFrameX=SCREEN_CENTER_X
LargeBannerFrameY=SCREEN_CENTER_Y-140
LargeBannerFrameOnCommand=draworder,98;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
LargeBannerFrameOffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT

ShowStageDisplay=not GAMESTATE:IsCourseMode()
StageDisplayX=SCREEN_CENTER_X
StageDisplayY=SCREEN_CENTER_Y-168
StageDisplayOnCommand=draworder,99;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
StageDisplayOffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT

ShowDifficultyIcon=not GAMESTATE:IsCourseMode()
DifficultyIconP1X=SCREEN_CENTER_X-106
DifficultyIconP1Y=SCREEN_CENTER_Y-160
DifficultyIconP1OnCommand=draworder,99;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
DifficultyIconP1OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
DifficultyIconP2X=SCREEN_CENTER_X+106
DifficultyIconP2Y=SCREEN_CENTER_Y-160
DifficultyIconP2OnCommand=draworder,99;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
DifficultyIconP2OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT

PlayerOptionsP1X=SCREEN_CENTER_X-120
PlayerOptionsP1Y=SCREEN_CENTER_Y-100
PlayerOptionsP1OnCommand=draworder,99;align,0,1;zoom,0.5;shadowlength,2;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
PlayerOptionsP1OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
PlayerOptionsP2X=SCREEN_CENTER_X+120
PlayerOptionsP2Y=SCREEN_CENTER_Y-100
PlayerOptionsP2OnCommand=draworder,99;align,1,1;zoom,0.5;shadowlength,2;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
PlayerOptionsP2OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT

ShowGradeArea=true
GradeFrameP1X=SCREEN_CENTER_X-220
GradeFrameP1Y=SCREEN_CENTER_Y-140
GradeFrameP1OnCommand=addx,-SCREEN_CENTER_X;sleep,0.0;decelerate,0.3;addx,SCREEN_CENTER_X
GradeFrameP1OffCommand=sleep,0.8;accelerate,0.3;addx,-SCREEN_CENTER_X
GradeFrameP2X=SCREEN_CENTER_X+220
GradeFrameP2Y=SCREEN_CENTER_Y-140
GradeFrameP2OnCommand=addx,SCREEN_CENTER_X;sleep,0.0;decelerate,0.3;addx,-SCREEN_CENTER_X
GradeFrameP2OffCommand=sleep,0.8;accelerate,0.3;addx,SCREEN_CENTER_X
GradeP1X=SCREEN_CENTER_X-220
GradeP1Y=SCREEN_CENTER_Y-140
GradeP1OnCommand=glowshift;effectperiod,0.3;addx,-SCREEN_CENTER_X;sleep,0.0;decelerate,0.3;addx,SCREEN_CENTER_X
GradeP1OffCommand=sleep,0.8;accelerate,0.3;addx,-SCREEN_CENTER_X
GradeP2X=SCREEN_CENTER_X+220
GradeP2Y=SCREEN_CENTER_Y-140
GradeP2OnCommand=glowshift;effectperiod,0.3;addx,SCREEN_CENTER_X;sleep,0.0;decelerate,0.3;addx,-SCREEN_CENTER_X
GradeP2OffCommand=sleep,0.8;accelerate,0.3;addx,SCREEN_CENTER_X

ShowSharedJudgmentLineLabels=true

ShowJudgmentLineW1=true
W1LabelX=SCREEN_CENTER_X
W1LabelY=SCREEN_CENTER_Y-80
W1LabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.1;decelerate,0.3;addy,-SCREEN_HEIGHT
W1LabelOffCommand=sleep,0.7;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
W1NumberP1X=SCREEN_CENTER_X-90
W1NumberP1Y=SCREEN_CENTER_Y-80
W1NumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.1;decelerate,0.3;addx,SCREEN_CENTER_X
W1NumberP1OffCommand=sleep,0.7;accelerate,0.3;addx,-SCREEN_CENTER_X
W1NumberP2X=SCREEN_CENTER_X+90
W1NumberP2Y=SCREEN_CENTER_Y-80
W1NumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.1;decelerate,0.3;addx,-SCREEN_CENTER_X
W1NumberP2OffCommand=sleep,0.7;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineW2=true
W2LabelX=SCREEN_CENTER_X
W2LabelY=SCREEN_CENTER_Y-55
W2LabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.2;decelerate,0.3;addy,-SCREEN_HEIGHT
W2LabelOffCommand=sleep,0.6;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
W2NumberP1X=SCREEN_CENTER_X-90
W2NumberP1Y=SCREEN_CENTER_Y-55
W2NumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.2;decelerate,0.3;addx,SCREEN_CENTER_X
W2NumberP1OffCommand=sleep,0.6;accelerate,0.3;addx,-SCREEN_CENTER_X
W2NumberP2X=SCREEN_CENTER_X+90
W2NumberP2Y=SCREEN_CENTER_Y-55
W2NumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.2;decelerate,0.3;addx,-SCREEN_CENTER_X
W2NumberP2OffCommand=sleep,0.6;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineW3=true
W3LabelX=SCREEN_CENTER_X
W3LabelY=SCREEN_CENTER_Y-30
W3LabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.3;decelerate,0.3;addy,-SCREEN_HEIGHT
W3LabelOffCommand=sleep,0.5;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
W3NumberP1X=SCREEN_CENTER_X-90
W3NumberP1Y=SCREEN_CENTER_Y-30
W3NumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.3;decelerate,0.3;addx,SCREEN_CENTER_X
W3NumberP1OffCommand=sleep,0.5;accelerate,0.3;addx,-SCREEN_CENTER_X
W3NumberP2X=SCREEN_CENTER_X+90
W3NumberP2Y=SCREEN_CENTER_Y-30
W3NumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.3;decelerate,0.3;addx,-SCREEN_CENTER_X
W3NumberP2OffCommand=sleep,0.5;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineW4=true
W4LabelX=SCREEN_CENTER_X
W4LabelY=SCREEN_CENTER_Y-5
W4LabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.4;decelerate,0.3;addy,-SCREEN_HEIGHT
W4LabelOffCommand=sleep,0.4;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
W4NumberP1X=SCREEN_CENTER_X-90
W4NumberP1Y=SCREEN_CENTER_Y-5
W4NumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.4;decelerate,0.3;addx,SCREEN_CENTER_X
W4NumberP1OffCommand=sleep,0.4;accelerate,0.3;addx,-SCREEN_CENTER_X
W4NumberP2X=SCREEN_CENTER_X+90
W4NumberP2Y=SCREEN_CENTER_Y-5
W4NumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.4;decelerate,0.3;addx,-SCREEN_CENTER_X
W4NumberP2OffCommand=sleep,0.4;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineW5=true
W5LabelX=SCREEN_CENTER_X
W5LabelY=SCREEN_CENTER_Y+20
W5LabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.5;decelerate,0.3;addy,-SCREEN_HEIGHT
W5LabelOffCommand=sleep,0.3;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
W5NumberP1X=SCREEN_CENTER_X-90
W5NumberP1Y=SCREEN_CENTER_Y+20
W5NumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.5;decelerate,0.3;addx,SCREEN_CENTER_X
W5NumberP1OffCommand=sleep,0.3;accelerate,0.3;addx,-SCREEN_CENTER_X
W5NumberP2X=SCREEN_CENTER_X+90
W5NumberP2Y=SCREEN_CENTER_Y+20
W5NumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.5;decelerate,0.3;addx,-SCREEN_CENTER_X
W5NumberP2OffCommand=sleep,0.3;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineMiss=true
MissLabelX=SCREEN_CENTER_X
MissLabelY=SCREEN_CENTER_Y+45
MissLabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.6;decelerate,0.3;addy,-SCREEN_HEIGHT
MissLabelOffCommand=sleep,0.2;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
MissNumberP1X=SCREEN_CENTER_X-90
MissNumberP1Y=SCREEN_CENTER_Y+45
MissNumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.6;decelerate,0.3;addx,SCREEN_CENTER_X
MissNumberP1OffCommand=sleep,0.2;accelerate,0.3;addx,-SCREEN_CENTER_X
MissNumberP2X=SCREEN_CENTER_X+90
MissNumberP2Y=SCREEN_CENTER_Y+45
MissNumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.6;decelerate,0.3;addx,-SCREEN_CENTER_X
MissNumberP2OffCommand=sleep,0.2;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineHeld=true
HeldLabelX=SCREEN_CENTER_X
HeldLabelY=SCREEN_CENTER_Y+70
HeldLabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.7;decelerate,0.3;addy,-SCREEN_HEIGHT
HeldLabelOffCommand=sleep,0.1;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
HeldNumberP1X=SCREEN_CENTER_X-90
HeldNumberP1Y=SCREEN_CENTER_Y+70
HeldNumberP1OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.7;decelerate,0.3;addx,SCREEN_CENTER_X
HeldNumberP1OffCommand=sleep,0.1;accelerate,0.3;addx,-SCREEN_CENTER_X
HeldNumberP2X=SCREEN_CENTER_X+90
HeldNumberP2Y=SCREEN_CENTER_Y+70
HeldNumberP2OnCommand=zoom,0.7;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.7;decelerate,0.3;addx,-SCREEN_CENTER_X
HeldNumberP2OffCommand=sleep,0.1;accelerate,0.3;addx,SCREEN_CENTER_X

ShowJudgmentLineMaxCombo=true
MaxComboMaxDigits=4
MaxComboLabelX=0
MaxComboLabelY=0
MaxComboLabelOnCommand=diffusealpha,0
MaxComboLabelOffCommand=
#--#
MaxComboNumberP1X=SCREEN_CENTER_X-186
MaxComboNumberP1Y=SCREEN_CENTER_Y+70
MaxComboNumberP1OnCommand=zoom,0.9;diffusealpha,0;linear,0.7;diffuse,color("1,1,0,1")
MaxComboNumberP1OffCommand=linear,0.7;diffusealpha,0
MaxComboNumberP2X=SCREEN_CENTER_X+253
MaxComboNumberP2Y=SCREEN_CENTER_Y+70
MaxComboNumberP2OnCommand=zoom,0.9;diffusealpha,0;linear,0.7;diffuse,color("1,1,0,1")
MaxComboNumberP2OffCommand=linear,0.7;diffusealpha,0

ShowScoreArea=true
ScoreLabelX=SCREEN_CENTER_X
ScoreLabelY=SCREEN_CENTER_Y+110
ScoreLabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.8;decelerate,0.3;addy,-SCREEN_HEIGHT
ScoreLabelOffCommand=sleep,0.0;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
ScoreNumberP1X=SCREEN_CENTER_X-160
ScoreNumberP1Y=SCREEN_CENTER_Y+110
ScoreNumberP1OnCommand=zoom,0.9;draworder,90;diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.8;decelerate,0.3;addx,SCREEN_CENTER_X
ScoreNumberP1OffCommand=sleep,0.0;accelerate,0.3;addx,-SCREEN_CENTER_X
ScoreNumberP2X=SCREEN_CENTER_X+160
ScoreNumberP2Y=SCREEN_CENTER_Y+110
ScoreNumberP2OnCommand=zoom,0.9;draworder,90;diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.8;decelerate,0.3;addx,-SCREEN_CENTER_X
ScoreNumberP2OffCommand=sleep,0.0;accelerate,0.3;addx,SCREEN_CENTER_X

ShowBonusArea=true
BarActualMaxCommand=glowshift;effectperiod,0.5
#--------#
BonusFrameP1X=SCREEN_CENTER_X-220
BonusFrameP1Y=SCREEN_CENTER_Y
BonusFrameP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
BonusFrameP1OffCommand=linear,0.7;diffusealpha,0
BonusFrameP2X=SCREEN_CENTER_X+220
BonusFrameP2Y=SCREEN_CENTER_Y
BonusFrameP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
BonusFrameP2OffCommand=linear,0.7;diffusealpha,0
#--------#
BarPossible1P1X=SCREEN_CENTER_X-151
BarPossible1P1Y=SCREEN_CENTER_Y-60
BarPossible1P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.2;linear,1.0;zoomx,1
BarPossible1P1OffCommand=linear,0.7;diffusealpha,0
BarPossible1P2X=SCREEN_CENTER_X+151
BarPossible1P2Y=SCREEN_CENTER_Y-60
BarPossible1P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.2;linear,1.0;zoomx,1
BarPossible1P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarPossible2P1X=SCREEN_CENTER_X-151
BarPossible2P1Y=SCREEN_CENTER_Y-36
BarPossible2P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.3;linear,1.0;zoomx,1
BarPossible2P1OffCommand=linear,0.7;diffusealpha,0
BarPossible2P2X=SCREEN_CENTER_X+151
BarPossible2P2Y=SCREEN_CENTER_Y-36
BarPossible2P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.3;linear,1.0;zoomx,1
BarPossible2P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarPossible3P1X=SCREEN_CENTER_X-151
BarPossible3P1Y=SCREEN_CENTER_Y-12
BarPossible3P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.4;linear,1.0;zoomx,1
BarPossible3P1OffCommand=linear,0.7;diffusealpha,0
BarPossible3P2X=SCREEN_CENTER_X+151
BarPossible3P2Y=SCREEN_CENTER_Y-12
BarPossible3P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.4;linear,1.0;zoomx,1
BarPossible3P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarPossible4P1X=SCREEN_CENTER_X-151
BarPossible4P1Y=SCREEN_CENTER_Y+12
BarPossible4P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,1.0;linear,1.0;zoomx,1
BarPossible4P1OffCommand=linear,0.7;diffusealpha,0
BarPossible4P2X=SCREEN_CENTER_X+151
BarPossible4P2Y=SCREEN_CENTER_Y+12
BarPossible4P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,1.0;linear,1.0;zoomx,1
BarPossible4P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarPossible5P1X=SCREEN_CENTER_X-151
BarPossible5P1Y=SCREEN_CENTER_Y+36
BarPossible5P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.6;linear,1.0;zoomx,1
BarPossible5P1OffCommand=linear,0.7;diffusealpha,0
BarPossible5P2X=SCREEN_CENTER_X+151
BarPossible5P2Y=SCREEN_CENTER_Y+36
BarPossible5P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.6;linear,1.0;zoomx,1
BarPossible5P2OffCommand=linear,0.7;diffusealpha,0
#--------#
BarActual1P1X=SCREEN_CENTER_X-151
BarActual1P1Y=SCREEN_CENTER_Y-60
BarActual1P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.7;linear,1.0;zoomx,1
BarActual1P1OffCommand=linear,0.7;diffusealpha,0
BarActual1P2X=SCREEN_CENTER_X+151
BarActual1P2Y=SCREEN_CENTER_Y-60
BarActual1P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.7;linear,1.0;zoomx,1
BarActual1P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarActual2P1X=SCREEN_CENTER_X-151
BarActual2P1Y=SCREEN_CENTER_Y-36
BarActual2P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.8;linear,1.0;zoomx,1
BarActual2P1OffCommand=linear,0.7;diffusealpha,0
BarActual2P2X=SCREEN_CENTER_X+151
BarActual2P2Y=SCREEN_CENTER_Y-36
BarActual2P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.8;linear,1.0;zoomx,1
BarActual2P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarActual3P1X=SCREEN_CENTER_X-151
BarActual3P1Y=SCREEN_CENTER_Y-12
BarActual3P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,0.9;linear,1.0;zoomx,1
BarActual3P1OffCommand=linear,0.7;diffusealpha,0
BarActual3P2X=SCREEN_CENTER_X+151
BarActual3P2Y=SCREEN_CENTER_Y-12
BarActual3P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,0.9;linear,1.0;zoomx,1
BarActual3P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarActual4P1X=SCREEN_CENTER_X-151
BarActual4P1Y=SCREEN_CENTER_Y+12
BarActual4P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,1.0;linear,1.0;zoomx,1
BarActual4P1OffCommand=linear,0.7;diffusealpha,0
BarActual4P2X=SCREEN_CENTER_X+151
BarActual4P2Y=SCREEN_CENTER_Y+12
BarActual4P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,1.0;linear,1.0;zoomx,1
BarActual4P2OffCommand=linear,0.7;diffusealpha,0
#---#
BarActual5P1X=SCREEN_CENTER_X-151
BarActual5P1Y=SCREEN_CENTER_Y+36
BarActual5P1OnCommand=halign,0;rotationz,180;zoomx,0;sleep,1.1;linear,1.0;zoomx,1
BarActual5P1OffCommand=linear,0.7;diffusealpha,0
BarActual5P2X=SCREEN_CENTER_X+151
BarActual5P2Y=SCREEN_CENTER_Y+36
BarActual5P2OnCommand=halign,0;rotationz,0;zoomx,0;sleep,1.1;linear,1.0;zoomx,1
BarActual5P2OffCommand=linear,0.7;diffusealpha,0

# records stuff
ShowRecordDisplays=true

MachineRecordP1X=SCREEN_CENTER_X-150
MachineRecordP1Y=SCREEN_CENTER_Y+96
MachineRecordP1OnCommand=zoom,0.88;draworder,99;diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
MachineRecordP1OffCommand=linear,0.7;diffusealpha,0
MachineRecordP2X=SCREEN_CENTER_X+150
MachineRecordP2Y=SCREEN_CENTER_Y+96
MachineRecordP2OnCommand=zoom,0.88;draworder,99;diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
MachineRecordP2OffCommand=linear,0.7;diffusealpha,0

PersonalRecordP1X=SCREEN_CENTER_X-150
PersonalRecordP1Y=SCREEN_CENTER_Y+96
PersonalRecordP1OnCommand=zoom,0.88;draworder,99;diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
PersonalRecordP1OffCommand=linear,0.7;diffusealpha,0
PersonalRecordP2X=SCREEN_CENTER_X+150
PersonalRecordP2Y=SCREEN_CENTER_Y+96
PersonalRecordP2OnCommand=zoom,0.88;draworder,99;diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
PersonalRecordP2OffCommand=linear,0.7;diffusealpha,0

# only used in normal mode
ShowTryExtraStage=true
TryExtraStageX=SCREEN_CENTER_X
TryExtraStageY=SCREEN_CENTER_Y+160
TryExtraStageOnCommand=diffusealpha,0;linear,0.7;diffusealpha,1;glowshift
TryExtraStageOffCommand=linear,0.7;diffusealpha,0

# used in two of three course mode evals (and extra stage)
ShowTimeArea=false
TimeLabelX=SCREEN_CENTER_X
TimeLabelY=SCREEN_CENTER_Y+140
TimeLabelOnCommand=addy,SCREEN_HEIGHT;sleep,0.8;decelerate,0.3;addy,-SCREEN_HEIGHT
TimeLabelOffCommand=sleep,0.0;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
TimeNumberP1X=SCREEN_CENTER_X-160
TimeNumberP1Y=SCREEN_CENTER_Y+140
TimeNumberP1OnCommand=diffuse,PlayerColor(PLAYER_1);addx,-SCREEN_CENTER_X;sleep,0.8;decelerate,0.3;addx,SCREEN_CENTER_X
TimeNumberP1OffCommand=sleep,0.0;accelerate,0.3;addx,-SCREEN_CENTER_X
TimeNumberP2X=SCREEN_CENTER_X+160
TimeNumberP2Y=SCREEN_CENTER_Y+140
TimeNumberP2OnCommand=diffuse,PlayerColor(PLAYER_2);addx,SCREEN_CENTER_X;sleep,0.8;decelerate,0.3;addx,-SCREEN_CENTER_X
TimeNumberP2OffCommand=sleep,0.0;accelerate,0.3;addx,SCREEN_CENTER_X

ShowPointsArea=false
PercentFrameP1X=SCREEN_CENTER_X-224
PercentFrameP1Y=SCREEN_CENTER_Y-130
PercentFrameP1OnCommand=addx,-SCREEN_CENTER_X;sleep,0.0;decelerate,0.3;addx,SCREEN_CENTER_X
PercentFrameP1OffCommand=sleep,0.8;accelerate,0.3;addx,-SCREEN_CENTER_X
PercentFrameP2X=SCREEN_CENTER_X+224
PercentFrameP2Y=SCREEN_CENTER_Y-130
PercentFrameP2OnCommand=addx,SCREEN_CENTER_X;sleep,0.0;decelerate,0.3;addx,-SCREEN_CENTER_X
PercentFrameP2OffCommand=sleep,0.8;accelerate,0.3;addx,SCREEN_CENTER_X

PercentP1X=SCREEN_CENTER_X-208
PercentP1Y=SCREEN_CENTER_Y-105
PercentP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
PercentP1OffCommand=sleep,0.8;accelerate,0.3;addx,-SCREEN_CENTER_X
PercentP2X=SCREEN_CENTER_X+240
PercentP2Y=SCREEN_CENTER_Y-105
PercentP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
PercentP2OffCommand=sleep,0.8;accelerate,0.3;addx,SCREEN_CENTER_X

## used in all three course mode evals; putting metrics here
ShowSurvivedArea=false
SurvivedFrameP1X=SCREEN_CENTER_X-200
SurvivedFrameP1Y=SCREEN_CENTER_Y+16
SurvivedFrameP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
SurvivedFrameP1OffCommand=linear,0.7;diffusealpha,0
SurvivedFrameP2X=SCREEN_CENTER_X+200
SurvivedFrameP2Y=SCREEN_CENTER_Y+16
SurvivedFrameP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
SurvivedFrameP2OffCommand=linear,0.7;diffusealpha,0

SurvivedNumberP1X=SCREEN_CENTER_X-224
SurvivedNumberP1Y=SCREEN_CENTER_Y-20
SurvivedNumberP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
SurvivedNumberP1OffCommand=linear,0.7;diffusealpha,0
SurvivedNumberP2X=SCREEN_CENTER_X+220
SurvivedNumberP2Y=SCREEN_CENTER_Y-20
SurvivedNumberP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1;diffuseshift;effectcolor1,color("1,1,1,1");effectcolor2,color("0.4,0.4,0.4,1");effectperiod,0.198
SurvivedNumberP2OffCommand=linear,0.7;diffusealpha,0

# Song options
SongOptionsX=SCREEN_CENTER_X
SongOptionsY=SCREEN_CENTER_Y-188
SongOptionsOnCommand=draworder,99;shadowlength,1;zoomy,0;linear,0.5;zoom,0.5
SongOptionsOffCommand=linear,0.5;zoomy,0

#=======================#
[ScreenEvaluationRave]
Fallback="ScreenEvaluation"
ShowStyleIcon=true
ShowJudgmentLineMaxCombo=false
ShowBonusArea=false
ShowRecordDisplays=false
ShowTryExtraStage=false

# I can't stop raving
ShowWinArea=true

WinFrameP1X=SCREEN_CENTER_X-224
WinFrameP1Y=SCREEN_CENTER_Y+16
WinFrameP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
WinFrameP1OffCommand=linear,0.7;diffusealpha,0
WinFrameP2X=SCREEN_CENTER_X+224
WinFrameP2Y=SCREEN_CENTER_Y+16
WinFrameP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
WinFrameP2OffCommand=linear,0.7;diffusealpha,0

WinP1X=SCREEN_CENTER_X-224
WinP1Y=SCREEN_CENTER_Y+16
WinP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
WinP1OffCommand=linear,0.7;diffusealpha,0
WinP2X=SCREEN_CENTER_X+224
WinP2Y=SCREEN_CENTER_Y+16
WinP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
WinP2OffCommand=linear,0.7;diffusealpha,0

#=======================#
[ScreenEvaluationNonstop]
Fallback="ScreenEvaluation"
NextScreen="ScreenNameEntry"

ShowStyleIcon=true
ShowStageDisplay=false
ShowJudgmentLineMaxCombo=false
ShowBonusArea=false
ShowTryExtraStage=false

ShowSurvivedArea=true

#=======================#
# used for Oni and Endless
[ScreenEvaluationOni]
Fallback="ScreenEvaluation"
NextScreen="ScreenNameEntry"

ShowStyleIcon=true
ShowStageDisplay=false
ShowJudgmentLineMaxCombo=false
ShowBonusArea=false
ShowScoreArea=false
ShowGradeArea=false
ShowTryExtraStage=false

ShowTimeArea=true

ShowSurvivedArea=true
SurvivedFrameP1X=SCREEN_CENTER_X-224
SurvivedFrameP1Y=SCREEN_CENTER_Y
SurvivedFrameP1OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
SurvivedFrameP1OffCommand=linear,0.7;diffusealpha,0
SurvivedFrameP2X=SCREEN_CENTER_X+224
SurvivedFrameP2Y=SCREEN_CENTER_Y
SurvivedFrameP2OnCommand=diffusealpha,0;linear,0.7;diffusealpha,1
SurvivedFrameP2OffCommand=linear,0.7;diffusealpha,0


ShowPointsArea=true

################################################################################
[ScreenEvaluationSummary]
Summary=true
ShowStyleIcon=true
ShowStageDisplay=false
ShowDifficultyIcon=false
ShowTryExtraStage=false

ScoreLabelX=SCREEN_CENTER_X-2
ScoreLabelY=SCREEN_CENTER_Y+140

BannerWidth=248
BannerHeight=78

SmallBanner1X=GetSummaryBannerX(1)
SmallBanner1Y=GetSummaryBannerY(1)
SmallBanner1OnCommand=zoom,0.5;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
SmallBanner1OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
SmallBanner2X=GetSummaryBannerX(2)
SmallBanner2Y=GetSummaryBannerY(2)
SmallBanner2OnCommand=zoom,0.5;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
SmallBanner2OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
SmallBanner3X=GetSummaryBannerX(3)
SmallBanner3Y=GetSummaryBannerY(3)
SmallBanner3OnCommand=zoom,0.5;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
SmallBanner3OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
SmallBanner4X=GetSummaryBannerX(4)
SmallBanner4Y=GetSummaryBannerY(4)
SmallBanner4OnCommand=zoom,0.5;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
SmallBanner4OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
#--#
SmallBanner5X=GetSummaryBannerX(5)
SmallBanner5Y=GetSummaryBannerY(5)
SmallBanner5OnCommand=zoom,0.5;addy,SCREEN_HEIGHT;sleep,0.0;decelerate,0.3;addy,-SCREEN_HEIGHT
SmallBanner5OffCommand=sleep,0.8;accelerate,0.3;addy,SCREEN_HEIGHT
################################################################################
[ScreenProfileSave]
ShowFooter=true

# profile saved on exiting summary screen
[ScreenProfileSaveSummary]
Fallback="ScreenProfileSave"
################################################################################
# you got a high score, good for you!
[ScreenNameEntry]
NextScreen=Branch.Ending()
################################################################################
# thanks for playing, here are a bunch of songs.
[ScreenMusicScroll]
Fallback="ScreenAttract"
NextScreen="ScreenRanking"
PrevScreen="ScreenRanking"
################################################################################
# a new credits sequence
[ScreenCredits]
Fallback="ScreenSplash"
NextScreen="ScreenRanking"
PrevScreen="ScreenRanking"
CancelTransitionsOut=true

StopMusicOnBack=true
AllowStartToSkip=true
PrepareScreen=""
################################################################################
[ScreenGameOver]
TimerSeconds=5
ForceTimer=true
TimerStealth=true
################################################################################
[ScreenSelectGame2]
Fallback="ScreenSelectGame"
NextScreen=Branch.TitleMenu()
PrevScreen=Branch.TitleMenu()
ShowHelp=true
################################################################################
[ScreenJukeboxMenu]
ShowFooter=true
################################################################################
[ScreenOptionsService]
ShowFooter=true
ShowHelp=true

NumRowsShown=8
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:y(SCREEN_CENTER_Y-152+34*offsetFromCenter) end

ExplanationTogetherX=SCREEN_CENTER_X-250
ExplanationTogetherY=SCREEN_BOTTOM-64
ExplanationTogetherOnCommand=shadowlength,0;zoom,0.5;halign,0;wrapwidthpixels,1000;cropright,1;linear,0.5;cropright,0
ExplanationTogetherOffCommand=stoptweening

[OptionRowService]
TitleX=SCREEN_CENTER_X-150
TitleY=
TitleOnCommand=halign,0;shadowlength,1;maxwidth,600;zoom,1
TitleGainFocusCommand=diffuse,color("1,1,1,1");diffuseshift;effectcolor1,color("0.5,0.5,0.5,1");effectcolor2,color("1,1,1,1");
TitleLoseFocusCommand=stopeffect;diffuse,color("0.334,0.334,0.334,1")

FrameGainFocusCommand=diffuse,color("1,1,1,1")
FrameLoseFocusCommand=diffuse,color("0.5,0.5,0.5,1")

################################################################################
[ScreenOptionsServiceChild]
ShowFooter=true
ShowHelp=true
WaitForChildrenBeforeTweeningOut=true

NumRowsShown=8
SeparateExitRow=false

ExplanationTogetherX=SCREEN_CENTER_X-250
ExplanationTogetherY=SCREEN_BOTTOM-64
ExplanationTogetherOnCommand=shadowlength,0;zoom,0.5;halign,0;wrapwidthpixels,1000;cropright,1;linear,0.5;cropright,0
ExplanationTogetherOffCommand=stoptweening
##=======================##
[ScreenSelectGame]
ShowHelp=true
##=======================##
[ScreenMapControllers]
# please stop doing this.
# I know people suck at mapping their keys, but this is also very annoying.
ScreenOnCommand=
##=======================##
[ScreenOptionsManageProfiles]
ShowFooter=true
ShowHelp=true
##=======================##
[ScreenOptionsOther]
RowPositionTransformFunction=function(self,offsetFromCenter,itemIndex,numItems) self:y(SCREEN_CENTER_Y-152+44*offsetFromCenter) end
################################################################################
[ScreenEditMenu]
ShowFooter=true

[EditMenu]
Label1X=SCREEN_CENTER_X-280
Label2X=SCREEN_CENTER_X-280
Label3X=SCREEN_CENTER_X-280
Label4X=SCREEN_CENTER_X-280
Label5X=SCREEN_CENTER_X-280
Label6X=SCREEN_CENTER_X-280
Label7X=SCREEN_CENTER_X-280

Label1OnCommand=shadowlength,1;zoom,0.75;halign,0
Label2OnCommand=shadowlength,1;zoom,0.75;halign,0
Label3OnCommand=shadowlength,1;zoom,0.75;halign,0
Label4OnCommand=shadowlength,1;zoom,0.75;halign,0
Label5OnCommand=shadowlength,1;zoom,0.75;halign,0
Label6OnCommand=shadowlength,1;zoom,0.75;halign,0
Label7OnCommand=shadowlength,1;zoom,0.75;halign,0
################################################################################
[ScreenEdit]
EditHelpX=SCREEN_CENTER_X-316
InfoX=SCREEN_CENTER_X+316
InfoOnCommand=halign,1;valign,0;zoom,0.5;shadowlength,1
###############################################################################
